<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<c:if test="${requestScope.rightWay eq null}">
    <jsp:forward page="HttpMethodServlet?action=User&task=overview"/>
</c:if>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Rabbit Buster User-overview</title>
<link href="css000.css" rel="stylesheet" type="text/css">
</head>
<body>

<div align="center">
  <p><img src="./pics/banner_us.png" alt="banner"></p>
</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>

<table>
<tr><th>GameID</th><th>Name</th><th>Players</th><th>Highscore List</th></tr>
<c:forEach items="${games}" var="game">
		<tr> 
			<td><c:out value="${game.ID}"/> </td>
			<td><c:out value="${game.name}"/> </td>
			<td><c:out value="${game.hunterCount}"/> </td>
			<td><a href="score2.jsp?game=<c:out value="${game.ID}"/>">Score</a></td>
		</tr>
</c:forEach>
</table>
<br><br>

<div id="Center">
<a class=biglink href="index.jsp">back to index</a>
</div>

</body>
</html>